package com.devframe.srtp.client;

import java.util.ResourceBundle;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

public class SRTPClientContainer {

	private static final Log log=LogFactory.getLog(SRTPClientContainer.class);
	
	
	private  static String userName;
	
	private static String password;
	
	private static String host;
	
	private static int port;
	static{
		ResourceBundle rb=ResourceBundle.getBundle("srtp-config");
		SRTPClientContainer.userName=rb.getString("srtp.userName");
		SRTPClientContainer.password=rb.getString("srtp.password");
		SRTPClientContainer.host=rb.getString("srtp.server.host");
		SRTPClientContainer.port=Integer.parseInt(rb.getString("srtp.server.port"));
	}
	
	
	

	public static String getUserName() {
		return userName;
	}

	public static String getPassword() {
		return password;
	}

	public static String getHost() {
		return host;
	}

	public static int getPort() {
		return port;
	}
	
	
	
	
	
	
	
	
	
	
}
